package com.example.chess.model;

import lombok.Data;

@Data
public class User {
    private int userId;
    private String username;
    private String nickname;
    private String password;
    private String email;
    private int score;
    private int totalCount;
    private int winCount;
    private String state;// 玩家当前的上线状态 -- 线上/游戏中
    private String photo;// 头像
    private String roomId;// 当前用户所在的房间号 -- 如果有的话
}
